<template>
  <ng-pagination
    :page-no.sync="pageInfo.pageNum"
    :page-size.sync="pageInfo.pageSize"
    :total-count="total"
    @on-change="handleSizeChange"
    style="margin-top: 30px"
  >
    <span slot="prefix">共{{ total }}条</span>
    <el-button
      slot="after"
      type="primary"
      class="primary-btn"
      size="mini"
      style="margin-left: 10px"
    >
      确定
    </el-button>
  </ng-pagination>
</template>

<script>
//引入页面,注册组件。


//分页回调函数,监听分页器改变
handleSizeChange() {
    //调用获取列表的接口即可
  //   this.getList();
},
</script>
